package com.eastedu.common.enums;

/**
 * 〈〉
 *
 * @author ZHISHUAI.ZHANG
 * @since 2021 /7/28
 */
public enum DataSourceTypeEnum {
    /**
     * Question data source type enum.
     */
    QUESTION("question-source"),
    /**
     * Permission content data source type enum.
     */
    PERMISSION_CONTENT("permission-content-source"),
    /**
     * Permission template content data source type enum.
     */
    PERMISSION_TEMPLATE_CONTENT("permission-template-content-source"),
    /**
     * Lesson data source type enum.
     */
    LESSON("lesson-source"),
    /**
     * Assignment data source type enum.
     */
    ASSIGNMENT("assignment-source"),
    /**
     * Basic data source type enum.
     */
    BASIC("basic-source"),
    ;
    private String name;

    DataSourceTypeEnum(String name) {
        this.name = name;
    }

    /**
     * Gets name.
     *
     * @return the name
     */
    public String getName() {
        return name;
    }
}
